#ifndef __SYNCCTL_H__
#define __SYNCCTL_H__

#include "Syncconf.h"

class Syncctl {
    std::string usage;
    Syncconf conf;
public:
    Syncctl();
    ~Syncctl();
    void print_usage();
    void system_install();
    void system_uninstall();
    void system_update();
    void system_status();
    void node_add(char* node);
    void node_remove(char* node);
    void node_reset(char* node);
    void node_list();
    void table_add(std::string name);
    void table_update(std::string name);
    void table_remove(std::string name);
    void table_dwatch_on(std::string name);
    void table_dwatch_off(std::string name);
    void data_prepare(char* node);
    void data_update(char* node);
    void prepared_set(char* node, char* number);
    int  prepared_get(char* node);
    void updated_set(char* node, char* number);
    int  updated_get(char* node);
};

#endif /* __SYNCCTL_H__ */
